package com.joinval.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.joinval.common.utils.PageUtils;
import com.joinval.common.utils.Result;
import com.joinval.modules.sys.entity.SysUserAuditLog;
import com.joinval.modules.sys.enums.UserTypeEnums;
import com.joinval.modules.sys.form.SysUserAuditLogForm;

import java.util.Map;

/**
 * 用户审核记录
 *
 * @author xu
 * @email -
 * @date 2020-08-25 10:32:42
 */
public interface SysUserAuditLogService extends IService<SysUserAuditLog> {

    PageUtils queryPage(Map<String, Object> params);

    Result audit(UserTypeEnums userTypeEnums,SysUserAuditLogForm form);

    SysUserAuditLog getLastAuditLog(Long userId,UserTypeEnums userType);

}

